// import userManage from './userTag/userTag.vue'
// import userTag from './user/user.vue'
// import userPge from './userPage.vue'
const userManage = () => import('./user/user.vue')
const userTag = () => import('./userTag/userTag.vue')
const userPge = () => import('./userPage.vue')
const WHeader = () => import('@/components/header.vue')

export default {
  path: '/user',
  name: 'userPge',
  components: {
    content: userPge,
    header: WHeader
  },
  redirect: '/userManage',
  children: [
    {
      path: '/userManage',
      name: 'userManage',
      component: userManage,
      meta: {
        requireAuth: true // 添加该字段，表示进入这个路由是需要登录的
      },
      children: []
    },
    {
      path: '/userTag',
      name: 'userTag',
      component: userTag,
      meta: {
        requireAuth: true // 添加该字段，表示进入这个路由是需要登录的
      },
      children: []
    }
  ]
}
